github.com/0chain/gosdk@v1.17.11/docs/uml/upload cost.puml (about)

     1  @startuml
     2  participant "<size:20><&terminal></size> ./zbox get-upload-cost" as cli
     3  collections gosdk
     4  
     5  cli -> gosdk: GetAllocation(allocID)
     6  
     7  cli -> cli: create new total cost 
     8  group for each BlobberDetails (BlobberAllocation, bidx)
     9  cli -> cli: calculate cost for blobber and add to total cost
    10  end
    11  cli -> cli: print out total cost corresponding to duration
    12  
    13  @enduml